package com.qianfeng.client_7001.client;


import com.qianfeng.client_7001.entity.User;
import org.springframework.stereotype.Component;

/**
 * author: 田晋宇
 * datetime:2021/10/26 10:39
 * email:853796359@qq.com
 */
@Component
public class SearchClientFallBack implements  SearchClient {
    @Override
    public String helloSearch() {
        return "搜索服务异常 返回兜底数据";
    }

    @Override
    public String s1(Integer id) {
        return null;
    }

    @Override
    public String s2(Integer id, String name) {
        return null;
    }


    public User s3(User user) {
        return null;
    }
}
